if (sprite(currentsel).row = #fone) or (sprite(currentsel).row = #ftwo) or (sprite(currentsel).row = #fthree) or (sprite(currentsel).row = #ffour) then
mysuitb.deleteOne(foundation[row].cards[1].suit)
end if
if (sprite(currentsel).row = #ffive) or (sprite(currentsel).row = #fsix) or (sprite(currentsel).row = #fseven) or (sprite(currentsel).row = #feight) then
if foundation[sprite(currentsel).row].cards.count = 1 then
if (sprite(currentsel).row = #fone) or (sprite(currentsel).row = #ftwo) or (sprite(currentsel).row = #fthree) or (sprite(currentsel).row = #ffour) then
if not mysuitb.findPos(foundation[sprite(currentsel).row].cards[1].suit) then
if (sprite(currentsel).row = #ffive) or (sprite(currentsel).row = #fsix) or (sprite(currentsel).row = #fseven) or (sprite(currentsel).row = #feight) then
if not mysuitt.findPos(foundation[sprite(currentsel).row].cards[1].suit) then